<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>二维数组</title>
		<script type="text/javascript">
			var arr = new Array();  组
			n = 10; 
			m = 5;  
            for (var i = 0; i < n; i++) {
				arr[i] = new Array();  
				for (var j = 0; j < m; j++) {
					arr[i][j] = i.toString() + "-" + j.toString() + " , ";  
				}
			}
			var n = arr.length;  
			var m = arr[0].length;  
			for (var i = 0; i < n; i++) {
				for (var j = 0; j < m; j++) {
					document.write(arr[i][j]);
				}
				document.write("<br />")
			}
		</script>
	</head>
	<body>
	</body>
</html>
